<?php

// ------------------------------------------------------------------------
// |@Author       : Jarmin <topextend@qq.com>
// |@----------------------------------------------------------------------
// |@Date         : 2025-05-05 05:27:50
// |@----------------------------------------------------------------------
// |@LastEditTime : 2025-05-07 15:21:47
// |@----------------------------------------------------------------------
// |@LastEditors  : Jarmin <topextend@qq.com>
// |@----------------------------------------------------------------------
// |@Description  :
// |@----------------------------------------------------------------------
// |@FilePath     : AuthException.php
// |@----------------------------------------------------------------------
// |@Copyright (c) 2025 http://www.ladmin.cn All Rights Reserved.
// ------------------------------------------------------------------------
declare (strict_types=1);

namespace think\admin\exception;

use think\admin\Exception;

/**
 * 认证异常类
 * @package think\admin\exception
 */
class AuthException extends Exception
{
    /**
     * 构造函数
     * @param string $message 错误信息
     * @param int $code 错误码
     * @param mixed $data 错误数据
     */
    public function __construct(string $message = '', int $code = self::AUTH_ERROR, mixed $data = null)
    {
        parent::__construct($message, $code, $data);
    }
}
